package com.example.demo.persistence;

import com.example.demo.domain.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper {

    User getUser(String username);

    User getUserByPass(@Param("username") String username, @Param("password")  String password);

    User getUrlByUserName(String username);
}
